package testGUI;

import java.awt.EventQueue;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import de.szut.bomberman.graphics.gamefield.Bomb;
import de.szut.bomberman.graphics.gamefield.Field;
import de.szut.bomberman.graphics.gamefield.PlayerOne;
import de.szut.bomberman.graphics.gamefield.Stone;
import javax.swing.BoxLayout;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;

public class TestFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -628577308615569158L;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TestFrame frame = new TestFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TestFrame() {
		GamePanel contentPane = new GamePanel();
		setContentPane(contentPane);
		contentPane.setFocusable(true);
		contentPane.requestFocusInWindow();
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 610, 625);
		setResizable(false);
		setVisible(true);
		
		
	}
}
